package com.meida.module.bus.client.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 退卡工单表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_backcard_record")
@TableAlias("backcard")
@ApiModel(value="BusBackcardRecord对象", description="退卡工单表")
public class BusBackcardRecord extends AbstractAllEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "backcardRecordId", type = IdType.ASSIGN_ID)
    private Long backcardRecordId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "1已提交,2取消提交,3退卡专员审核中,4退卡专员审核拒绝,5退卡专员审核通过,6退款专员专员审核中,7退款专员审核拒绝,8退款专员审核通过,9财务经理审核中,10财务经理审核拒绝,11财务经理审核通过")
    private Integer isCheck;

    @ApiModelProperty(value = "提交者")
    private Long submitUserId;

    @ApiModelProperty(value = "类型")
    private Integer submitUserType;

    @ApiModelProperty(value = "退卡卡号")
    private String vipCardNo;

    @ApiModelProperty(value = "开户行")
    private String bank;

    @ApiModelProperty(value = "银行卡号")
    private String bankNo;

    @ApiModelProperty(value = "refund_ali,refund_wx,refund_bank")
    private String refundWay;

    @ApiModelProperty(value = "承担（1会员全部承担，会员部分承担）")
    private Integer bearWay;

    @ApiModelProperty(value = "会员承担金额")
    private BigDecimal vipBearAmount;

    @ApiModelProperty(value = "销售承担金额")
    private String saleBearAmount;

    @ApiModelProperty(value = "退卡金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "退卡备注说明")
    private String remark;

    @ApiModelProperty(value = "用户物品Id")
    private Long userGoodsId;

    @ApiModelProperty(value = "退卡备注说明")
    private String accountGoodsId;

    @ApiModelProperty(value = "地区")
    private String airportId;

    @ApiModelProperty(value = "退卡专员备注")
    private String remarka;

    @ApiModelProperty(value = "退款专员备注")
    private String remarkb;

    private String refundDate;

    @ApiModelProperty(value = "退款凭证")
    private String refundImg;

    @ApiModelProperty(value = "退卡原因")
    private String refundReason;

    @ApiModelProperty(value = "补退方式")
    private String addRefundWay;

    @ApiModelProperty(value = "补退备注")
    private String addRefundRemark;

    @ApiModelProperty(value = "补退金额")
    private BigDecimal addRefundAmount;

    @ApiModelProperty(value = "标记备注")
    private String tagRemark;

    @ApiModelProperty(value = "退卡退款状态")
    private Integer returnState;

}
